Skip to content

fix handling of artefact name#352

Merged
casparvl merged 1 commit into
EESSI:developfrom
trz42:fix_artefact_use
Nov 12, 2025
Merged

fix handling of artefact name#352
casparvl merged 1 commit into
EESSI:developfrom
trz42:fix_artefact_use

Conversation

@trz42
Copy link
Copy Markdown
Contributor

@trz42 trz42 commented Nov 12, 2025

Since build jobs can create tarballs using other compression tools such as zstd which result in different suffixes than .gz the bot's deploy code does not work correctly. Initially all information is correctly taken from a job's result file (named _bot_jobJOBID.result), but in subsequent processing part of the information is dropped and a hardcoded suffix (.tar.gz) is used.

This PR just uses the full name of the artefact as provided by the *.result file.

Note, this is a hot fix. There may be other issues with the processing of artefact names (e.g., if the suffix is just .tar without any .gz or .zstd). Also, the timestamp that was previously used to recreate the full name of the tarball to be uploaded is not used any longer it seems (maybe the hound will complain).

Copy link
Copy Markdown
Contributor

@casparvl casparvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@casparvl casparvl merged commit 8d50032 into EESSI:develop Nov 12, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants